package com.system.reflect.demo02.impl;

import com.system.reflect.demo02.HelloWorld;
import com.system.reflect.demo02.Interceptor;

/**
 * 测试MyInterceptor拦截器
 * @author DELL
 */
public class TestMyInterceptor {
    public static void main(String[] args) {
        HelloWorld proxy = (HelloWorld) InterceptorJdkProxy.bind(new HelloWorldImpl(), "com.system.reflect.demo02.impl.MyInterceptor");
        proxy.sayHelloWorld();

    }
}
